Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 11 - Clock Components / Clock Components Reference
Movie Toolbox Clock Support Functions /


AddCallBackToTimeBase

Your clock component uses the AddCallBackToTimeBase function to place a callback event into the list of scheduled callback events. The Movie Toolbox maintains this list.

pascal OSErr AddCallBackToTimeBase (QTCallBack cb);
cb
Specifies the callback event for the operation. Your clock component obtains this value from the parameters passed to your ClockCallMeWhen function (described on page 11-10).
DESCRIPTION
Your component should call the AddCallBackToTimeBase function when your ClockCallMeWhen function determines that your component can support the callback event (see "Using the Callback Functions," which begins on page 11-8, for more information about the ClockCallMeWhen function).

If your component does not call this function, the Movie Toolbox does not notify your component of time, rate, or stop and start changes (via the ClockRateChanged and ClockTimeChanged functions, described on page 11-14 and page 11-13, respectively).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help